<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<h1>⽤户登录</h1>
<form method="get" th:action="@{/test}">
    ⽤户名:<input name="userName" type="text"/><br>
    密码:<input name="pwd" type="password"/><br>
    <input type="submit" value="登录"/>
</form>

</body>
</html>